//
//  VVYCheckStatus.h
//  viviyoo
//
//  Created by viviyoo on 15/11/16.
//  Copyright © 2015年 viviyoo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LYLoginViewController.h"

@interface VVYCheckStatus : NSObject
//是否登录
@property (nonatomic, assign, getter=isLogin, readonly) BOOL login;

+ (instancetype)sharedInstance;

//检查登录
- (BOOL)checkIsLogin;

//退出登录
- (void)loginOut;

//modal出登录窗口并设置登录成功回调
- (BOOL)checkIsLoginBlock:(loginSuccessBlock)block;

@end
